<?php

class AdminController extends Zend_Controller_Action
{

    public function init()
    {  
        $auth = Zend_Auth::getInstance();
        if ($auth->hasIdentity()){
        	$this->_helper->layout()->setLayout('admin/admin-layout');
        }
        else{
        	$this->_redirect('/login/index');
        }
    }

    public function indexAction()
    {
    }


}

